﻿using MaiPlanServer.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace MaiPlanServer.IServices.Production
{
    public interface IProcessDesignServices
    {
        public Task<IEnumerable<pro_process>> GetPro_Processes(int PageIndex, int PageSize, string process_code,string process_name,string status);
        public Task<int> GetPro_ProcessesCount(string process_code,string process_name,string status);

        public Task<bool> AddProcess(pro_process pro);
        public Task<bool> AddProcessContent(pro_process_content pro);
        public Task<bool> DelProcess(string Id);
        public Task<bool> DelProcessContent(string Id);
        public Task<pro_process> GetPro_Processes(string Id);
        public Task<IEnumerable<pro_process_content>> GetPro_ProcessContent(string Id);
        public Task<bool> UpdatePro_Process(pro_process pro);
    }
}
